package org.bluewhale.hibernate.dao;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractSkUserBook entity provides the base persistence definition of the
 * SkUserBook entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractSkUserBook implements java.io.Serializable {

	// Fields

	private Integer id;
	private SkUser skUser;
	private Integer bookId;
	private String type;
	private Integer rank;
	private String comment;
	private String picUrl;
	private Set skTags = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractSkUserBook() {
	}

	/** minimal constructor */
	public AbstractSkUserBook(SkUser skUser, String type, Integer rank,
			String picUrl) {
		this.skUser = skUser;
		this.type = type;
		this.rank = rank;
		this.picUrl = picUrl;
	}

	/** full constructor */
	public AbstractSkUserBook(SkUser skUser, Integer bookId, String type,
			Integer rank, String comment, String picUrl, Set skTags) {
		this.skUser = skUser;
		this.bookId = bookId;
		this.type = type;
		this.rank = rank;
		this.comment = comment;
		this.picUrl = picUrl;
		this.skTags = skTags;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public SkUser getSkUser() {
		return this.skUser;
	}

	public void setSkUser(SkUser skUser) {
		this.skUser = skUser;
	}

	public Integer getBookId() {
		return this.bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getRank() {
		return this.rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getPicUrl() {
		return this.picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public Set getSkTags() {
		return this.skTags;
	}

	public void setSkTags(Set skTags) {
		this.skTags = skTags;
	}

}